package com.zhongpengcheng.blog.dao.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * 逻辑删除状态枚举
 * note: 1.记录变更 by zhongpengcheng
 *
 * @author zhongpengcheng
 * @date 2021/08/26 20:04
 **/
public enum DeleteStatusEnum {
    DELETED(1),
    NOT_DELETED(0);

    @EnumValue
    private final int value;

    DeleteStatusEnum(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    @Override
    public String toString() {
        return String.valueOf(value);
    }
}
